package ${packageName}.dao;

import ${packageName}.dao.impl.${ModelName}DaoImpl;
import ${packageName}.model.bo.${ModelName}BO;
import ${packageName}.model.po.${ModelName};
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ${ModelName}Dao extends MongoRepository<${ModelName}, String> {

    /**
     * ${r'#{@link'} ${ModelName}DaoImpl#query(${ModelName}BO, Pageable)}
     */
    Page<${ModelName}> query(${ModelName}BO bo, Pageable pageable);
}
